<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		div{
			width: 100px;
			height: 100px;
			background-color: red;
			margin:10px;
			color: #fff
		}
		div:nth-child(2){
			background-color: blue;
			position: relative;
			left: 0px;
			top:0px;
		}

		article{
			background-color: #ccc;
			width: 500px;
			height: 300px;
			margin:50px;
			position: relative;
			overflow: scroll;
		}


		div:first-child{
			position: fixed;
			left: 0px;
			top: 0px;
		}


	</style>
</head>
<body>
	<article>
		<div>div1</div>
		<div>div2</div>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<br>
		<div>div3</div>

	</article>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	hello---------

</body>
</html>








